package jiekou.homework;

/**
 * 医生
 */
public class Doctor extends Role implements Treat,SelfIntroduce{

    public Doctor() {
    }

    public Doctor(String name, int level) {
        super(name, level);
    }



    @Override
    public void treat() {
        System.out.println(this.getName() + "说：我可以治疗好你");
    }

    @Override
    public void selfintroduce() {
        System.out.println("你好我是'" + this.getName() + "'，我是一名医生，等级" + this.getLevel());
    }
}
